package com.ruanxie.vo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "用户登录返回的数据格式")
public class UserLoginVO implements Serializable {
    @ApiModelProperty("账号")
    private String accountId;
    @ApiModelProperty("角色")
    private String role;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("jwt令牌")
    private String token;
    @ApiModelProperty("头像")
    private String avatar;
}
